package Question02;

public class testBankAccount {
    public static void main(String[] args) {
        BankAccount xhl = new BankAccount("xhl",1000);
        xhl.deposit(500);
        if(xhl.withdraw(300)){
            double money = xhl.getBalance();
            System.out.println(money);}
    }
}
